<?php
echo $this->headLink()->prependStylesheet($this->baseUrl().'/css/order_add.css');
$this->title = "Create Order";
$this->headTitle($this->title);
?>
<p>
<a href="<?php echo $this->url(array('controller'=>'customer', 'action'=>'enquiry'), null, true); ?>">Customer Search</a>
</p>
<p>
<a href="<?php echo $this->url(array('controller'=>'product', 'action'=>'enquiry'), null, true); ?>">Product Search</a>
</p><br />
<?php echo $this->form; ?>
<table>
	<tr>
		<th>Product No</th>
		<th>Name</th>
		<th>Description</th>
		<th>Price</th>
		<th>Quantity</th>
		<th>Remove</th>
	</tr>
	<?php foreach($this->dbs as $db) : ?>
	<tr>
		<td><?php echo $this->escape($db->prod_no); ?></td>
		<td><?php echo $this->escape($db->prod_name); ?></td>
		<td><?php echo $this->escape($db->prod_description); ?></td>
		<td><?php echo $this->escape($db->prod_price); ?></td>
		<td><?php echo $this->escape($db->item_qty); ?></td>
		<td>Edit</td>
	</tr>
	<?php endforeach; ?>
</table>
<p><a href="#">Continue</a></p>